package com.zelix;

import java.util.*;

public abstract class zp {

    Set a;

    public zp() {
        a = new HashSet();
    }

    void a(int i, String as[]) {
        String s;
        Iterator iterator;
        if (i >= as.length)
            return;
        s = as[i];
        iterator = a.iterator();
        while (iterator.hasNext()) {
            bq bq1 = (bq) iterator.next();
            if (s.equals(bq1.b())) {
                i++;
                bq1.a(i, as);
                return;
            }
        }
        bq bq2 = new bq(this, s);
        a.add(bq2);
        i++;
        bq2.a(i, as);
    }

    void a(ArrayList arraylist) {
    }

    abstract void a(Hashtable hashtable);

    void b(ArrayList arraylist) {
        Iterator iterator;
        a(arraylist);
        iterator = a.iterator();
        while (iterator.hasNext()) {
            bq bq1 = (bq) iterator.next();
            bq1.b(arraylist);
        }
    }

    void b(Hashtable hashtable) {
        Iterator iterator;
        a(hashtable);
        iterator = a.iterator();
        while (iterator.hasNext()) {
            bq bq1 = (bq) iterator.next();
            bq1.b(hashtable);
        }
    }

    public abstract String a();
}
